﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Service" %>

<%PowerGroup modelpowergroup = v.data("powergroup") as PowerGroup; %>
<%var bllPowerGroupService = new PowerGroupService(); %>

<!--留言版块列表-->
<ul class="listbottonul" id="listbottonul">
    <%if (bllPowerGroupService.powercheck("communicate", "bbstypeadd", modelpowergroup))
      { %>
	<li class="menumain"><a id="addinfo" class="addinfo" onclick="javascript:parent.onbotton('_{botton_add_bbstypeadd}','<%=link.to(new wojilu.Web.Controller.Admin.Qycms.BbsController().BbsTypeAdd) %>?type=add&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),false,'addinfo',self.frameElement.getAttribute('name'));"  href="#body" title="_{botton_add_bbstypeadd}" hidefocus="true">_{botton_add_bbstypeadd}</a></li>
	<%} %>
	<li class="menumain"><a id="selectall" class="selectall" href="javascript:select_change(true,'selectform','selectall','check_all')" title="_{selAll_botton}" hidefocus="true">_{selAll_botton}</a></li>
	<li class="menumain"><a id="bolt" href="#body" hidefocus="true" hidefocus="true">_{bolt_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_botton}</span>
				<ul>
					<li><a class="menunoclick" id="typeisclass0" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',0,0,3,'selectform','selectall','check_all')" title="_{all_botton}" hidefocus="true">_{all_botton}</a></li>
					<li><a class="menuclick" id="typeisclass1" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',1,1,3,'selectform','selectall','check_all')" title="_{infook_botton}" hidefocus="true">_{infook_botton}</a></li>
					<li><a class="menuclick" id="typeisclass2" href="#body" onclick="javascript:dbfilter('typeisclass','isclass',2,2,3,'selectform','selectall','check_all')" title="_{lockok_botton}" hidefocus="true">_{lockok_botton}</a></li>
				</ul>
			</li>
		</ul>
	</li>
    <%if (bllPowerGroupService.powercheck("communicate", "bbstypeedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="sortall" onclick="javascript:sortinput('<%=link.to(new wojilu.Web.Controller.Admin.Qycms.BbsController().BbsTypeSort) %>','#{load}','_{sort_messok}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" href="#body" hidefocus="true">_{pid_botton}</a></li>
	<%} %>
	<li class="menumain"><a id="refresh" href="#body" onclick="javascript:refresh('selectform','selectall','check_all');" title="_{refresh_botton}" hidefocus="true">_{refresh_botton}</a></li>
    <%if (bllPowerGroupService.powercheck("communicate", "bbstypeedit", modelpowergroup))
      { %>
	<li class="menumain"><a id="setbotton" href="#body" hidefocus="true" title="_{set_botton}">_{set_botton}</a>
		<ul class="menulist">
			<li><span class="menufont">_{lock_set_botton}</span>
				<ul>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('<%=link.to(new wojilu.Web.Controller.Admin.Qycms.BbsController().BbsTypeSetting) %>','selectinfoid',true,'isclass',1,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{open_botton_title}" hidefocus="true">_{open_botton_title}</a></li>
					<li><a class="menuclick" href="#body" onclick="javascript:callrun('<%=link.to(new wojilu.Web.Controller.Admin.Qycms.BbsController().BbsTypeSetting) %>','selectinfoid',true,'isclass',0,'#{load}','_{update_messok}','_{select_no}',true,'_{run_ok}','_{run_no}','selectform','selectall','check_all');" title="_{close_botton_title}" hidefocus="true">_{close_botton_title}</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<%} %>
</ul>